package cn.yuanqiao.web.controller.auth;

import cn.yuanqiao.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth")
public class TokenController {
    @Value("${uKeyFlag}")
    public boolean uKeyFlag;
    @GetMapping("getFlag")
    private AjaxResult getFlag(){

        return AjaxResult.success(uKeyFlag);
    }
}
